package model.GsonMapping;

//import java.util.Date;
import java.util.UUID;

import common.Enums.MethodType;

import model.QualitativeValue;
import model.QuantitativeValue;
import model.Value;

public class Test 
{
	public static void main(String[] args)
	{
		try
		{
		
			Value v = new Value(MethodType.QUALITATIVE);
			QuantitativeValue qv = new QuantitativeValue();
			QualitativeValue qlv = new QualitativeValue();
			
			System.out.println("--------- VALUE OBECJT DETAILS --------- ");
			//System.out.println(v.getClass().is);
			System.out.println(v.getClass().getCanonicalName());
			
			
			System.out.println("--------- QUANTITATIVE_VALUE OBECJT DETAILS --------- ");
			System.out.println(qv.getClass());
			System.out.println(qv.getClass().getCanonicalName());
			System.out.println(qv.getClass().getDeclaringClass());
			System.out.println(qv.getClass().getGenericSuperclass());
			System.out.println(qv.getClass().getSuperclass());
			
			System.out.println("--------- QUALITATIVE_VALUE OBECJT DETAILS --------- ");
			System.out.println(qlv.getClass());
			System.out.println(qlv.getClass().getCanonicalName());
			System.out.println(qlv.getClass().getDeclaringClass());
			System.out.println(qlv.getClass().getGenericSuperclass());
			System.out.println(qlv.getClass().getSuperclass());
			
			/*for(MethodApplication metApp : DAOFactory.getDAOFactory(DAOType.MYSQL).getMetAppDAO().getAllByBcID(UUID.fromString("f406e09b-1983-4df6-b8c2-c7ee27fc29b1")))
			{
				metApp.setCreatedDate(new java.util.Date());
				DAOFactory.getDAOFactory(DAOType.MYSQL).getMetAppDAO().update(metApp);
			}*/
			
			for(int i = 0 ; i < 4 ; i++)
				System.out.println(UUID.randomUUID());
		}
		catch(Exception ex)
		{
			System.out.print(ex.getClass().getSimpleName());
			System.out.print(ex.getMessage());
		}
	}
}
